package com.example.demo.controller;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 *心跳保活
 * @author binYan
 * @date 2023-07-06 19:37
 **/
@NoArgsConstructor
@Data
public class KeepaliveDTO {

    @JsonProperty("KeepaliveObject")
    private KeepaliveObjectDTO keepaliveObject;

    @NoArgsConstructor
    @Data
    public static class KeepaliveObjectDTO {
        @JsonProperty("DeviceID")
        private String deviceID;
        @JsonProperty("ProtocolVersion")
        private String protocolVersion;
    }
}
